package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjFactorySet;
import com.zb.vo.FactorySetVo;

/**
 * <p>
 * 厂商设置表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-02-27
 */
public interface ZjFactorySetService extends IService<ZjFactorySet> {

    /**
     * 初始化或重置厂商设置
     * @param custAccId 商家ID
     */
    void initOrRestoreDefaultFactorySet(Long custAccId);

    /**
     * 获取品牌厂商全局设置
     * @param custAccId 平台ID/商家ID
     * @return
     */
    FactorySetVo getFactorySet(Long custAccId);

    /**
     * 保存厂商设置
     * @param custAccId 商家ID
     * @param factorySetVo
     */
    void saveFactorySet(Long custAccId, FactorySetVo factorySetVo);
}
